package com.qimo.dao;

import com.qimo.model.User;
import org.apache.ibatis.annotations.Param;

public interface UserDao {
    User selectUser(String userName);
    int insertUser(User user);
    int update(@Param("userId")int userId,@Param("userShowName")String userShowName,@Param("userRealName")String userRealName,@Param("Sex")int Sex,@Param("Address")String Address,@Param("Email")String Email,@Param("Telephone")String Telephone,@Param("Mobile")String Mobile);
    int updatePassWord(@Param("userId") int userId, @Param("newPassWord")String newPassWord);

}